<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>CPVRTModelPOD Class Reference</h1>A class for loading and storing data from POD files/headers.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a>&gt;</code>
<p>
Inheritance diagram for CPVRTModelPOD:<p><center><img src="classCPVRTModelPOD__inherit__graph.png" border="0" usemap="#CPVRTModelPOD__inherit__map" alt="Inheritance graph"></center>
<map name="CPVRTModelPOD__inherit__map">
<area href="structSPODScene.html" shape="rect" coords="24,7,123,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for CPVRTModelPOD:<p><center><img src="classCPVRTModelPOD__coll__graph.png" border="0" usemap="#CPVRTModelPOD__coll__map" alt="Collaboration graph"></center>
<map name="CPVRTModelPOD__coll__map">
<area href="structSPODScene.html" shape="rect" coords="588,316,687,343" alt="">
<area href="structSPODLight.html" shape="rect" coords="79,226,167,252" alt="">
<area href="structEPODLight.html" shape="rect" coords="7,7,95,34" alt="">
<area href="structSPODMaterial.html" shape="rect" coords="263,226,369,252" alt="">
<area href="structEPODBlendOp.html" shape="rect" coords="119,7,231,34" alt="">
<area href="structEPODBlendFunc.html" shape="rect" coords="255,7,377,34" alt="">
<area href="structSPODMesh.html" shape="rect" coords="505,226,596,252" alt="">
<area href="classCPVRTBoneBatches.html" shape="rect" coords="401,7,548,34" alt="">
<area href="classPVRTMATRIXf.html" shape="rect" coords="572,7,684,34" alt="">
<area href="classCPODData.html" shape="rect" coords="708,7,796,34" alt="">
<area href="structEPODPrimitiveType.html" shape="rect" coords="820,7,961,34" alt="">
<area href="structSPODCamera.html" shape="rect" coords="620,226,727,252" alt="">
<area href="structSPODNode.html" shape="rect" coords="751,226,841,252" alt="">
<area href="structSPODTexture.html" shape="rect" coords="865,226,969,252" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classCPVRTModelPOD-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a0">CPVRTModelPOD</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a1">~CPVRTModelPOD</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a2">ReadFromFile</a> (const char *const pszFileName, char *const pszExpOpt=NULL, const size_t count=0, char *const pszHistory=NULL, const size_t historyCount=0)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a3">ReadFromMemory</a> (const char *pData, const size_t i32Size, char *const pszExpOpt=NULL, const size_t count=NULL, char *const pszHistory=NULL, const size_t historyCount=NULL)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a4">ReadFromMemory</a> (const <a class="el" href="structSPODScene.html">SPODScene</a> &amp;scene)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a5">CopyFromMemory</a> (const <a class="el" href="structSPODScene.html">SPODScene</a> &amp;scene)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a6">InitImpl</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a7">DestroyImpl</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a8">FlushCache</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a9">Destroy</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a10">SetFrame</a> (const VERTTYPE fFrame)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a11">GetRotationMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a12">GetRotationMatrix</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a13">GetScalingMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a14">GetScalingMatrix</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a15">GetTranslation</a> (<a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;V, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a16">GetTranslation</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a17">GetTranslationMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a18">GetTranslationMatrix</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a19">GetTransformationMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a20">GetWorldMatrixNoCache</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a21">GetWorldMatrixNoCache</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a22">GetWorldMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a23">GetWorldMatrix</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;node) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a24">GetBoneWorldMatrix</a> (<a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;mOut, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;NodeMesh, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;NodeBone)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTMat4.html">PVRTMat4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a25">GetBoneWorldMatrix</a> (const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;NodeMesh, const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;NodeBone)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a26">GetCamera</a> (<a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vFrom, <a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vTo, <a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vUp, const unsigned int nIdx) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a27">GetCameraPos</a> (<a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vFrom, <a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vTo, const unsigned int nIdx) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a28">GetLight</a> (<a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vPos, <a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;vDir, const unsigned int nIdx) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec4.html">PVRTVec4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a29">GetLightPosition</a> (const unsigned int u32Idx) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec4.html">PVRTVec4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a30">GetLightDirection</a> (const unsigned int u32Idx) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a31">CreateSkinIdxWeight</a> (char *const pIdx, char *const pWeight, const int nVertexBones, const int *const pnBoneIdx, const VERTTYPE *const pfBoneWeight)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTModelPOD.html#a32">SavePOD</a> (const char *const pszFilename, const char *const pszExpOpt=0, const char *const pszHistory=0)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class for loading and storing data from POD files/headers. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="CPVRTModelPOD::CPVRTModelPOD" ></a><p>
<br><br><h3>CPVRTModelPOD</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CPVRTModelPOD::CPVRTModelPOD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Constructor for CPVRTModelPOD class </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="CPVRTModelPOD::~CPVRTModelPOD" ></a><p>
<br><br><h3>~CPVRTModelPOD</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CPVRTModelPOD::~<a class="el" href="classCPVRTModelPOD.html">CPVRTModelPOD</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Destructor for CPVRTModelPOD class </dd></dl>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a5" doxytag="CPVRTModelPOD::CopyFromMemory" ></a><p>
<br><br><h3>CopyFromMemory</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::CopyFromMemory </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODScene.html">SPODScene</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>scene</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>scene</em>&nbsp;</td><td>Scene data from the header file </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>PVR_SUCCESS if successful, PVR_FAIL if not </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Copies the scene data from the supplied data structure. Use when loading from .H files where you want to modify the data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a31" doxytag="CPVRTModelPOD::CreateSkinIdxWeight" ></a><p>
<br><br><h3>CreateSkinIdxWeight</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::CreateSkinIdxWeight </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pIdx</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pWeight</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const int&nbsp;</td>
          <td class="mdname" nowrap> <em>nVertexBones</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const int *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pnBoneIdx</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const VERTTYPE *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pfBoneWeight</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pIdx</em>&nbsp;</td><td>Four bytes containing matrix indices for vertex (0..255) (D3D: use UBYTE4) </td></tr>
    <tr><td valign=top><em>pWeight</em>&nbsp;</td><td>Four bytes containing blend weights for vertex (0.0 .. 1.0) (D3D: use D3DCOLOR) </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>nVertexBones</em>&nbsp;</td><td>Number of bones this vertex uses </td></tr>
    <tr><td valign=top><em>pnBoneIdx</em>&nbsp;</td><td>Pointer to 'nVertexBones' indices </td></tr>
    <tr><td valign=top><em>pfBoneWeight</em>&nbsp;</td><td>Pointer to 'nVertexBones' blend weights </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Creates the matrix indices and blend weights for a boned vertex. Call once per vertex of a boned mesh. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a9" doxytag="CPVRTModelPOD::Destroy" ></a><p>
<br><br><h3>Destroy</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::Destroy </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Frees the memory allocated to store the scene in pScene. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a7" doxytag="CPVRTModelPOD::DestroyImpl" ></a><p>
<br><br><h3>DestroyImpl</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::DestroyImpl </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Used to free memory allocated by the implementation. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="CPVRTModelPOD::FlushCache" ></a><p>
<br><br><h3>FlushCache</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::FlushCache </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Clears the matrix cache; use this if necessary when you edit the position or animation of a node. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a25" doxytag="CPVRTModelPOD::GetBoneWorldMatrix" ></a><p>
<br><br><h3>GetBoneWorldMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetBoneWorldMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>NodeMesh</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>NodeBone</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>NodeMesh</em>&nbsp;</td><td>Mesh to take the bone matrix from </td></tr>
    <tr><td valign=top><em>NodeBone</em>&nbsp;</td><td>Bone to take the matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Bone world matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given bone. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a24" doxytag="CPVRTModelPOD::GetBoneWorldMatrix" ></a><p>
<br><br><h3>GetBoneWorldMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetBoneWorldMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>NodeMesh</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>NodeBone</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>Bone world matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>NodeMesh</em>&nbsp;</td><td>Mesh to take the bone matrix from </td></tr>
    <tr><td valign=top><em>NodeBone</em>&nbsp;</td><td>Bone to take the matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given bone. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a26" doxytag="CPVRTModelPOD::GetCamera" ></a><p>
<br><br><h3>GetCamera</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> VERTTYPE CPVRTModelPOD::GetCamera </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vFrom</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vTo</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vUp</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const unsigned int&nbsp;</td>
          <td class="mdname" nowrap> <em>nIdx</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>vFrom</em>&nbsp;</td><td>Position of the camera </td></tr>
    <tr><td valign=top><em>vTo</em>&nbsp;</td><td>Target of the camera </td></tr>
    <tr><td valign=top><em>vUp</em>&nbsp;</td><td>Up direction of the camera </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>nIdx</em>&nbsp;</td><td>Camera number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Camera horizontal FOV </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Calculate the From, To and Up vectors for the given camera. Uses animation data. Note that even if the camera has a target, *pvTo is not the position of that target. *pvTo is a position in the correct direction of the target, one unit away from the camera. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a27" doxytag="CPVRTModelPOD::GetCameraPos" ></a><p>
<br><br><h3>GetCameraPos</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> VERTTYPE CPVRTModelPOD::GetCameraPos </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vFrom</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vTo</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const unsigned int&nbsp;</td>
          <td class="mdname" nowrap> <em>nIdx</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>vFrom</em>&nbsp;</td><td>Position of the camera </td></tr>
    <tr><td valign=top><em>vTo</em>&nbsp;</td><td>Target of the camera </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>nIdx</em>&nbsp;</td><td>Camera number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Camera horizontal FOV </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Calculate the position of the camera and its target. Uses animation data. If the queried camera does not have a target, *pvTo is not changed. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a28" doxytag="CPVRTModelPOD::GetLight" ></a><p>
<br><br><h3>GetLight</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetLight </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vPos</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>vDir</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const unsigned int&nbsp;</td>
          <td class="mdname" nowrap> <em>nIdx</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>vPos</em>&nbsp;</td><td>Position of the light </td></tr>
    <tr><td valign=top><em>vDir</em>&nbsp;</td><td>Direction of the light </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>nIdx</em>&nbsp;</td><td>Light number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Calculate the position and direction of the given Light. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a30" doxytag="CPVRTModelPOD::GetLightDirection" ></a><p>
<br><br><h3>GetLightDirection</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec4.html">PVRTVec4</a> CPVRTModelPOD::GetLightDirection </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>u32Idx</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>u32Idx</em>&nbsp;</td><td>Light number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="structPVRTVec4.html">PVRTVec4</a> direction of light with w set correctly </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Calculate the direction of the given Light. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a29" doxytag="CPVRTModelPOD::GetLightPosition" ></a><p>
<br><br><h3>GetLightPosition</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec4.html">PVRTVec4</a> CPVRTModelPOD::GetLightPosition </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>u32Idx</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>u32Idx</em>&nbsp;</td><td>Light number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="structPVRTVec4.html">PVRTVec4</a> position of light with w set correctly </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Calculate the position the given Light. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a12" doxytag="CPVRTModelPOD::GetRotationMatrix" ></a><p>
<br><br><h3>GetRotationMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetRotationMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the rotation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Rotation matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a11" doxytag="CPVRTModelPOD::GetRotationMatrix" ></a><p>
<br><br><h3>GetRotationMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetRotationMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>Rotation matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the rotation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a14" doxytag="CPVRTModelPOD::GetScalingMatrix" ></a><p>
<br><br><h3>GetScalingMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetScalingMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the rotation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Scaling matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a13" doxytag="CPVRTModelPOD::GetScalingMatrix" ></a><p>
<br><br><h3>GetScalingMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetScalingMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>Scaling matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the rotation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a19" doxytag="CPVRTModelPOD::GetTransformationMatrix" ></a><p>
<br><br><h3>GetTransformationMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetTransformationMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>Transformation matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the transformation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a16" doxytag="CPVRTModelPOD::GetTranslation" ></a><p>
<br><br><h3>GetTranslation</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> CPVRTModelPOD::GetTranslation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the translation vector from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Translation vector </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the translation vector for the given Mesh Instance. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a15" doxytag="CPVRTModelPOD::GetTranslation" ></a><p>
<br><br><h3>GetTranslation</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetTranslation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structPVRTVECTOR3f.html">PVRTVECTOR3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>V</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>V</em>&nbsp;</td><td>Translation vector </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the translation vector from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the translation vector for the given Mesh Instance. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a18" doxytag="CPVRTModelPOD::GetTranslationMatrix" ></a><p>
<br><br><h3>GetTranslationMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetTranslationMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the translation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Translation matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a17" doxytag="CPVRTModelPOD::GetTranslationMatrix" ></a><p>
<br><br><h3>GetTranslationMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetTranslationMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>Translation matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the translation matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a23" doxytag="CPVRTModelPOD::GetWorldMatrix" ></a><p>
<br><br><h3>GetWorldMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetWorldMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the world matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>World matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a22" doxytag="CPVRTModelPOD::GetWorldMatrix" ></a><p>
<br><br><h3>GetWorldMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetWorldMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>World matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the world matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a21" doxytag="CPVRTModelPOD::GetWorldMatrixNoCache" ></a><p>
<br><br><h3>GetWorldMatrixNoCache</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structPVRTMat4.html">PVRTMat4</a> CPVRTModelPOD::GetWorldMatrixNoCache </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the world matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>World matrix </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a20" doxytag="CPVRTModelPOD::GetWorldMatrixNoCache" ></a><p>
<br><br><h3>GetWorldMatrixNoCache</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::GetWorldMatrixNoCache </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mOut</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="structSPODNode.html">SPODNode</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>mOut</em>&nbsp;</td><td>World matrix </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>node</em>&nbsp;</td><td>Node to get the world matrix from </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Generates the world matrix for the given Mesh Instance; applies the parent's transform too. Uses animation data. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a6" doxytag="CPVRTModelPOD::InitImpl" ></a><p>
<br><br><h3>InitImpl</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::InitImpl </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Description:</b></dt><dd>Used by the Read*() fns to initialise implementation details. Should also be called by applications which manually build data in the POD structures for rendering; in this case call it after the data has been created. Otherwise, do not call this function. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="CPVRTModelPOD::ReadFromFile" ></a><p>
<br><br><h3>ReadFromFile</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::ReadFromFile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszFileName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszExpOpt</em> = NULL, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>count</em> = 0, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszHistory</em> = NULL, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>historyCount</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszFileName</em>&nbsp;</td><td>Filename to load </td></tr>
  </table>
</dl>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszExpOpt</em>&nbsp;</td><td>String in which to place exporter options </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>count</em>&nbsp;</td><td>Maximum number of characters to store. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszHistory</em>&nbsp;</td><td>String in which to place the pod file history </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>historyCount</em>&nbsp;</td><td>Maximum number of characters to store. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>PVR_SUCCESS if successful, PVR_FAIL if not </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Loads the specified ".POD" file; returns the scene in pScene. This structure must later be destroyed with PVRTModelPODDestroy() to prevent memory leaks. ".POD" files are exported using the PVRGeoPOD exporters. If pszExpOpt is NULL, the scene is loaded; otherwise the scene is not loaded and pszExpOpt is filled in. The same is true for pszHistory. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="CPVRTModelPOD::ReadFromMemory" ></a><p>
<br><br><h3>ReadFromMemory</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::ReadFromMemory </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="structSPODScene.html">SPODScene</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>scene</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>scene</em>&nbsp;</td><td>Scene data from the header file </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>PVR_SUCCESS if successful, PVR_FAIL if not </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Sets the scene data from the supplied data structure. Use when loading from .H files. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="CPVRTModelPOD::ReadFromMemory" ></a><p>
<br><br><h3>ReadFromMemory</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::ReadFromMemory </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>pData</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>i32Size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszExpOpt</em> = NULL, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>count</em> = NULL, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszHistory</em> = NULL, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const size_t&nbsp;</td>
          <td class="mdname" nowrap> <em>historyCount</em> = NULL</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pData</em>&nbsp;</td><td>Data to load </td></tr>
    <tr><td valign=top><em>i32Size</em>&nbsp;</td><td>Size of data </td></tr>
  </table>
</dl>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszExpOpt</em>&nbsp;</td><td>String in which to place exporter options </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>count</em>&nbsp;</td><td>Maximum number of characters to store. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Outputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszHistory</em>&nbsp;</td><td>String in which to place the pod file history </td></tr>
  </table>
</dl>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>historyCount</em>&nbsp;</td><td>Maximum number of characters to store. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>PVR_SUCCESS if successful, PVR_FAIL if not </dd></dl>
<dl compact><dt><b>Description:</b></dt><dd>Loads the supplied pod data. This data can be exported directly to a header using one of the pod exporters. If pszExpOpt is NULL, the scene is loaded; otherwise the scene is not loaded and pszExpOpt is filled in. The same is true for pszHistory. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a32" doxytag="CPVRTModelPOD::SavePOD" ></a><p>
<br><br><h3>SavePOD</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> CPVRTModelPOD::SavePOD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszFilename</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszExpOpt</em> = 0, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *const&nbsp;</td>
          <td class="mdname" nowrap> <em>pszHistory</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pszFilename</em>&nbsp;</td><td>Filename to save to </td></tr>
    <tr><td valign=top><em>pszExpOpt</em>&nbsp;</td><td>A string containing the options used by the exporter </td></tr>
    <tr><td valign=top><em>pszHistory</em>&nbsp;</td><td>A string containing the history of the exported pod file </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Save a binary POD file (.POD). </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a10" doxytag="CPVRTModelPOD::SetFrame" ></a><p>
<br><br><h3>SetFrame</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void CPVRTModelPOD::SetFrame </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const VERTTYPE&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>fFrame</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Inputs:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>fFrame</em>&nbsp;</td><td>Frame number </td></tr>
  </table>
</dl>
<dl compact><dt><b>Description:</b></dt><dd>Set the animation frame for which subsequent Get*() calls should return data. </dd></dl>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a></ul>
<br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
